package com.example.news.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.news.pojo.entity.SearchRecords;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.news.pojo.vo.SearchArticleVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
* @author 86147
* @description 针对表【search_records】的数据库操作Mapper
* @createDate 2023-10-23 09:33:09
* @Entity com.example.news.pojo.entity.SearchRecords
*/
@Mapper
public interface SearchRecordsMapper extends BaseMapper<SearchRecords> {
    IPage<SearchArticleVo> searchArticleByKey(Page<SearchArticleVo> page,@Param("keyword") String key);
}




